package sis.studentinfo;/*
* @auther 顶风少年 
* @mail dfsn19970313@foxmail.com
* @date 2019-08-04 19:20
* @notify 
* @version 1.0
*/
public class CourseDisplayAdapter extends Course {
   public CourseDisplayAdapter(Course course){
       super(course.getDepartment(),course.getNumber());
   }
   public String toString(){
       return String.format("%s-%s",getDepartment(),getNumber());
   }
}
